package com.hm.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hm.common.annotation.Excel;
import com.hm.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 服务器对象 tb_hardserver
 *
 * @author hm
 * @date 2025-04-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("tb_hardserver")
public class Hardserver extends BaseEntity
        {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键 */
        private Long id;

    /** 服务器IP */
        @Excel(name = "服务器IP")
        private String serverIp;

    /** 服务器ssh端口 */
        @Excel(name = "服务器ssh端口")
        private String serverPort;

    /** 文件路径 */
        @Excel(name = "文件路径")
        private String filePath;

    /** 用户名 */
        @Excel(name = "用户名")
        private String username;

    /** 普通用户密码 */
        @Excel(name = "普通用户密码")
        private String uPassword;

    /** root密码 */
        @Excel(name = "root密码")
        private String rPassword;

    /** 备注 */
        @Excel(name = "备注")
        private String bz;

    /** 所属部门 */
        @Excel(name = "所属部门")
        private String ssbm;

    /** 上次执行时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "上次执行时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date zxTime;

}
